import request from './index'

export const login = (data) => request.post('/login', data)
export const register = (data) => request.post('/register', data)